<?php

namespace Transform;

class AnswerCommentTransform extends Transform
{
    public function listview()
    {
        return [
            'allows' => ['id', 'body', 'create_time', 'likes_count', 'author', 'human_time', 'is_like'],
            'author' => ['trans' => ['name' => 'User', 'method' => 'pub']],
        ];
    }
}
